FLAGS = -lm -O3

.SUFFIXES:
.SUFFIXES: .o .c

.c.o :
	gcc -c $<

all: sequential.x sequential2.x

sequential2.x : main2.o lsystem.o xpmio.o lines.o
	  gcc $(FLAGS) main2.o lsystem.o xpmio.o lines.o wtime.c -o sequential2.x

sequential.x : main.o lsystem.o xpmio.o lines.o
	  gcc $(FLAGS) main.o lsystem.o xpmio.o lines.o wtime.c -o sequential.x

clean	  :
	  rm -f *.x *.o
